'use client'
import React from 'react'
import { Button } from './ui/button'
import { useRouter } from 'next/navigation'

type Props = {}

const SignInButton = (props: Props) => {
  const router = useRouter()
  return (
    <Button
      variant="ghost"
      onClick={() => {
        router.push('/auth/login')
      }}
    >
      登陆
    </Button>
  )
}

export default SignInButton
